package com.xdf.zipperdye.service;

import com.xdf.zipperdye.model.Plan;

import java.util.Date;
import java.util.List;

public interface PlanService {
    int deleteByPrimaryKey(Integer iid);

    Plan insert(Plan record);

    Plan insertSelective(Plan record);

    Plan selectByPrimaryKey(Integer iid);

    int updateByPrimaryKeySelective(Plan record);

    int updateByPrimaryKey(Plan record);

    List<Plan> getBetweenDate(Date sdate, Date edate);

    Plan getLast();

    List<Plan> getPlan8PidState(Integer parentId,Integer state);
    List<Plan> getPlan8OrderIdState(Integer iid,Integer state);
}
